package com.hackerrank.www.javap;

import java.util.Scanner;

/**
 * Created by 27340 on 2017/5/14.
 */
public class EndOfFile {
    public static void main(String []argh)
    {
        Scanner sc = new Scanner(System.in);
        int index = 1;
        while(sc.hasNext()){
            System.out.println(index+" "+sc.nextLine());
            System.out.println(sc.hasNext());
            index++;
       }
    }
}
